#pragma once
#include <iostream>
#include <vector>
#include "Cocos2d.h"

using namespace cocos2d;
using namespace std;
class DataManage
{
	DataManage();
	~DataManage();

	static void getResultHandler(int CardID);
	static void getResultHandler(int colorCardID, int cardID);
	static void getCardHandler();
	static void getWinnerHandler();

public:
	static void initialPlayers();
	static void shuffle();
	static void sendNewRoundCard();
	static void playCard(int cardID, int cardID2);
	static void getCard();
	static void getResult();
	static void getWinner(int winnerT);
};

